<?php
namespace Supperman\Model;
use Think\Model\ViewModel;
/**
 * 活动列表视图
 *
 * @author lvster wu <120631276@qq.com>
 */
class ActivitytempListViewModel extends ViewModel{
    
    public $viewFields = array(
      'activity'=>array('id','typeid','title','initiator','atime','aetime','scale','fee','status','type','city','site','level'),
        'activity_type' =>array('type','_on' => 'activity.typeid = activity_type.id'),
        'scale' =>array('uplimit','scale','_on'=>'activity.scale =scale.id'),
    	'useractivitytemp'=>array('uid','signstatus','_on'=>'activity.id =useractivitytemp.activityid')
	);
}